<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
		
 </body>
</html>
<script>
	//数组遍历
	var arr = ['aa', 'bb', 'cc', 'dd', '田梦林', 'bb', 'cc', 'dd'];
	//console.log(arr[0]);
	//console.log(arr[1]);
	//console.log(arr[2]);
	//console.log(arr[3]);
	//console.log(arr[4]);
	console.log(arr.length);
	
	//经典壳子
	for(var i = 0; i < arr.length; i++){ // 0 1 2 3 4 5
		console.log(arr[i]); //01234
	}
</script>
